<h1 mat-dialog-title>{{ 'Logs Details' | translate }}</h1>

<form class="ix-form-container" [formGroup]="form">
  <ix-input
    formControlName="tail_lines"
    type="number"
    [label]="'Tail Lines' | translate"
    [required]="true"
  ></ix-input>

  <div mat-dialog-actions align="end">
    <button
      mat-button
      type="button"
      ixTest="cancel"
      [matDialogClose]="false"
    >
      {{ 'Cancel' | translate }}
    </button>
    <button
      mat-button
      type="submit"
      color="primary"
      ixTest="choose"
      [disabled]="form.invalid"
      [matDialogClose]="this.form.value"
    >
      {{ 'Connect' | translate }}
    </button>
  </div>
</form>
